package com.tentative.competition.quartz.task;

import com.tentative.competition.schedule.service.ScheduleAdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component("scheduleTask")
public class ScheduleTask {

    @Autowired
    private ScheduleAdminService scheduleAdminService;

    public void alterState(){
        scheduleAdminService.alterStateTask();
    }

}
